package com.cloud.bssp.chinesenewyear.grabredenvelope.service;

import org.springframework.stereotype.Service;

/**
 * @description： 抢红包接口
 * @author：weirx
 * @date：2022/1/6 9:52
 * @version：3.0
 */
@Service
public interface IGrabRedEnvelopeService {

    /**
     * description: 抢红包接口
     *
     * @param peopleId      用户id
     * @param redEnvelopeId 红包id
     * @author: weirx
     * @time: 2022/1/6 9:54
     */
    void grab(Integer peopleId, Integer redEnvelopeId) throws Exception;
}
